import request from '@/utils/request'

const api = {
  getCommitmentLetter: '/serviceConfiguration/getCommitmentLetter',
  addCommitmentLetter: '/serviceConfiguration/addCommitmentLetter'
}

export function getCommitmentLetter () {
  return request({
    url: api.getCommitmentLetter,
    method: 'get'
  })
}

export function addCommitmentLetter (parameter) {
  return request({
    url: api.addCommitmentLetter,
    method: 'post',
    data: parameter
  })
}
